package com.lam.schedule.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lam.common.base.domain.BaseEntity;

/**
 * 调度触发器对象 qrtz_triggers
 * 
 * @author admin
 * @date 2022-10-29
 */
@TableName("qrtz_triggers")
public class QrtzTriggers implements BaseEntity, QrtzTriggerState{

    /** 主键 */
    private String schedName;
    
    /** 主键 */
    private String triggerName;
    
    /** 主键 */
    private String triggerGroup;
    
    /**  */
    private String jobName;

    /**  */
    private String jobGroup;

    /**  */
    private String description;

    /**  */
    private Long nextFireTime;

    /**  */
    private Long prevFireTime;

    /**  */
    private Long priority;

    /**  */
    private String triggerState;

    /**  */
    private String triggerType;

    /**  */
    private Long startTime;

    /**  */
    private Long endTime;

    /**  */
    private String calendarName;

    /**  */
    private Integer misfireInstr;

    /**  */
    private String jobData;

    @Override
	public String getJobKey() {
		return jobName;
	}

	@Override
	public String getState() {
		return triggerState;
	} 

    public void setSchedName(String schedName) {
        this.schedName = schedName;
    }

    public String getSchedName() {
        return schedName;
    } 

    public void setTriggerName(String triggerName) {
        this.triggerName = triggerName;
    }

    public String getTriggerName() {
        return triggerName;
    } 

    public void setTriggerGroup(String triggerGroup) {
        this.triggerGroup = triggerGroup;
    }

    public String getTriggerGroup() {
        return triggerGroup;
    } 

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getJobName() {
        return jobName;
    }    
    
    public void setJobGroup(String jobGroup) {
        this.jobGroup = jobGroup;
    }

    public String getJobGroup() {
        return jobGroup;
    }    
    
    public void setDescription(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }    
    
    public void setNextFireTime(Long nextFireTime) {
        this.nextFireTime = nextFireTime;
    }

    public Long getNextFireTime() {
        return nextFireTime;
    }    
    
    public void setPrevFireTime(Long prevFireTime) {
        this.prevFireTime = prevFireTime;
    }

    public Long getPrevFireTime() {
        return prevFireTime;
    }    
    
    public void setPriority(Long priority) {
        this.priority = priority;
    }

    public Long getPriority() {
        return priority;
    }    
    
    public void setTriggerState(String triggerState) {
        this.triggerState = triggerState;
    }

    public String getTriggerState() {
        return triggerState;
    }    
    
    public void setTriggerType(String triggerType) {
        this.triggerType = triggerType;
    }

    public String getTriggerType() {
        return triggerType;
    }    
    
    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getStartTime() {
        return startTime;
    }    
    
    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public Long getEndTime() {
        return endTime;
    }    
    
    public void setCalendarName(String calendarName) {
        this.calendarName = calendarName;
    }

    public String getCalendarName() {
        return calendarName;
    }    
    
    public void setMisfireInstr(Integer misfireInstr) {
        this.misfireInstr = misfireInstr;
    }

    public Integer getMisfireInstr() {
        return misfireInstr;
    }    
    
    public void setJobData(String jobData) {
        this.jobData = jobData;
    }

    public String getJobData() {
        return jobData;
    }

}
